package com.blockchainenergy.blockChain;

import lombok.Data;

@Data
public class BlockWithHash {
    private DataBlock dataBlock;
    private String hash;

    public BlockWithHash(DataBlock dataBlock, String hash) {
        this.dataBlock = dataBlock;
        this.hash = hash;
    }
}
